/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package cn.knet.sp.ncrm.modules.customer.potentialcustomer.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.knet.sp.ncrm.common.persistence.Page;
import cn.knet.sp.ncrm.common.service.CrudService;
import cn.knet.sp.ncrm.modules.customer.potentialcustomer.entity.PotentialCustomerAddinfo;
import cn.knet.sp.ncrm.modules.customer.potentialcustomer.dao.PotentialCustomerAddinfoDao;

/**
 * 潜在客户附加表Service
 * @author gehaiyang
 * @version 2015-08-24
 */
@Service
@Transactional(readOnly = true)
public class PotentialCustomerAddinfoService extends CrudService<PotentialCustomerAddinfoDao, PotentialCustomerAddinfo> {

	public PotentialCustomerAddinfo get(String id) {
		return super.get(id);
	}
	
	public List<PotentialCustomerAddinfo> findList(PotentialCustomerAddinfo potentialCustomerAddinfo) {
		return super.findList(potentialCustomerAddinfo);
	}
	
	public Page<PotentialCustomerAddinfo> findPage(Page<PotentialCustomerAddinfo> page, PotentialCustomerAddinfo potentialCustomerAddinfo) {
		return super.findPage(page, potentialCustomerAddinfo);
	}
	
	@Transactional(readOnly = false)
	public void save(PotentialCustomerAddinfo potentialCustomerAddinfo) {
		super.save(potentialCustomerAddinfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(PotentialCustomerAddinfo potentialCustomerAddinfo) {
		super.delete(potentialCustomerAddinfo);
	}
	
}